<div class="row">
    <ol class="breadcrumb">
        <li><a>广告Id</a></li>
        <li>编号({{adv.aId}})</li>
    </ol>
</div>

<div class="ordersel">
    <div class="row" style="width: 98%; margin-left: 13px;">
        <div class="panel panel-primary">
            <div class="panel-heading">
                <h3 class="panel-title">广告基本信息</h3>
            </div>
            <div class="panel-body">
                <ul class="list-group">
                    <li class="list-group-item">
                        <span class="col-md-2">广告Id：</span><span>{{adv.aId}}</span>
                    </li>
                    <li class="list-group-item">
                        <span class="col-md-2">编辑时间：</span><span>{{adv.aEdittime | date:'yyyy-MM-dd HH:mm:ss' }}</span>
                    </li>
                    <li class="list-group-item">
                        <span class=" col-md-2">广告类型：</span><span>{{adv.aType | adtypefilter }}</span>
                    </li>
                    <li class="list-group-item">
                        <span class="col-md-2">广告名称：</span><span>{{adv.aName}}</span>
                    </li>
                    <li class="list-group-item">
                        <span class="col-md-2">管理人员：</span><span>{{adv.aManager }}</span>
                    </li>
                    <li class="list-group-item">
                        <span class="col-md-2">联系方式：</span><span>{{adv.aManagertel}}</span>
                    </li>
                    <li class="list-group-item">
                        <span class="col-md-2">文本信息：</span><span>{{adv.aHometxt}}</span>
                    </li>
                    <li class="list-group-item detailText">
                        <span class="col-md-2 ">文本详细：</span><span>{{adv.aDetailtxt}}</span>
                    </li>
                    <li class="list-group-item">
                        <span class="col-md-2">图片信息：</span><span>{{adv.aHomepicture}}</span>
                    </li>
                    <li class="list-group-item">
                        <span class="col-md-2">图片详细：</span><span>{{adv.aDetailpicture}}</span>
                    </li>
                    <li class="list-group-item">
                        <span class="col-md-2">广告二维码：</span><span>{{adv.aQrcode}}</span>
                    </li>
                    <li class="list-group-item">
                        <span class="col-md-2">目标网址：</span><span>{{adv.aUrl}}</span>
                    </li>
                    <li class="list-group-item">
                        <span class=" col-md-2">二维码详细：</span><span>{{adv.aQrcodetxt}}</span>
                    </li>
                    <li class="list-group-item" style="height:auto;">
                        <div ng-show="adlinkList.valid.length>0">
                            <p style="padding: 10px 20px;">正在投放超市</p>
                            <table class="linkInfo">
                                <tr>
                                    <!--<td>绑定关系序号</td>-->
                                    <td>超市ID</td>
                                    <td>超市名称</td>
                                    <td>起始时间</td>
                                    <td>结束时间</td>
                                </tr>
                                <tr ng-repeat="adlink in adlinkList.valid">
                                    <!--<td>{{$index+1}}</td>-->
                                    <td>{{adlink.mId}}</td>
                                    <td>{{adlink.mName}}</td>
                                    <td>{{adlink.aStarttime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
                                    <td>{{adlink.aEndtime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
                                </tr>
                            </table>
                        </div>
                        <div ng-show="adlinkList.invalid.length>0">
                            <p style="padding: 10px 20px;">已投放结束</p>
                            <table class="linkInfo">
                                <tr>
                                    <!--<td>绑定关系序号</td>-->
                                    <td>超市ID</td>
                                    <td>超市名称</td>
                                    <td>起始时间</td>
                                    <td>结束时间</td>
                                </tr>
                                <tr ng-repeat="adlink in adlinkList.invalid">
                                    <!--<td>{{$index+1}}</td>-->
                                    <td>{{adlink.mId}}</td>
                                    <td>{{adlink.mName}}</td>
                                    <td>{{adlink.aStarttime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
                                    <td>{{adlink.aEndtime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
                                </tr>
                            </table>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        </br>
    </div>

</div>